package org.cmodel.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import java.util.UUID;

@Controller
public class TestController {

    @GetMapping("show")
    public String show(Model model){
        model.addAttribute("uid", UUID.randomUUID().toString());
        model.addAttribute("name","uuid");
        return "home";
    }
}
